package virtualstock.request;
import java.util.List;

import javax.ejb.Remote;

import virtualstock.exception.InvalidParameterException;
import virtualstock.exception.StockNotFoundException;
import virtualstock.util.StockDetails;

@Remote
public interface StockController {
	
	public Long createStock(StockDetails details) throws InvalidParameterException;
	
	public StockDetails getStockDetails(Long stockID) throws InvalidParameterException, StockNotFoundException;
	
	public void removeStock(Long stockID) throws InvalidParameterException, StockNotFoundException;

	public List<StockDetails> getAllStocks();
}
